#include "junix.h"
using namespace std;

class A
{
	public :
		int i;
		void f()
		{
			cout<<"A::f()"<<endl;
		}
};

class B
{
	public :
		int i;
		void f()
		{
			cout<<"B::f()"<<endl;
		}
};

class C:public A,public B
{

};

int main(int argc, char **argv)
{
	C c;
	c.A::i = 1234;
	c.B::i = 5678;

	cout<<c.A::i<<endl;
	cout<<c.B::i<<endl;

	cout<<"sizeof C:"<<sizeof(c)<<endl;
	c.A::f();
	c.B::f();
}
